package com.sc.nft.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 中后台端会员添加编辑请求参数
 *
 * @Author：LiGen
 * @Package：com.sc.nft.entity.vo
 * @Project：sc_metago
 * @name：AdminMallMemberVO
 * @Date：2024/4/2 13:35
 * @Filename：AdminMallMemberVO
 */
@Data
public class EditAdminMallMemberVO {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "会员名称")
    @NotBlank(message = "会员名称不能为空")
    private String memberName;

    @ApiModelProperty(value = "藏品Id")
    @NotNull(message = "藏品Id不能为空")
    private Long collectionId;

    @ApiModelProperty(value = "会员等级")
    @NotNull(message = "会员等级不能为空")
    private Integer memberLv;

    @ApiModelProperty(value = "会员图片")
    @NotBlank(message = "会员图片不能为空")
    private String memberIcon;

    @ApiModelProperty(value = "权益详情")
    @NotBlank(message = "权益详情不能为空")
    private String memberDetails;

    @ApiModelProperty(value = "会员权益列表")
    @NotNull(message = "会员权益列表不能为空")
    private List<MallMemberEquityVO> mallMemberEquityVOList;

}
